package com.codeZ.ObserverPattern.example;

/**
 * 抽象目标类
 *
 * @author codeZhang
 * @Date 2024/8/23 10:26
 */
public interface Subject {

    void attach(Observer observer);

    void detach(Observer observer);

    void notifyObservers();

}
